//package com.gzdh.tang.modu.job;
//
//import com.gzdh.tang.modu.mapper.TangReportTimeMapper;
//import com.xxl.job.core.biz.model.ReturnT;
//import com.xxl.job.core.handler.IJobHandler;
//import com.xxl.job.core.handler.annotation.JobHandler;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Component;
//
//import java.text.SimpleDateFormat;
//import java.util.Date;
//
//
//@JobHandler(value = "JiesuanJobHandler")
//@Component
//public class JiesunAJob extends IJobHandler {
//
//
//    @Autowired
//    TangReportTimeMapper tangReportTimeMapper;
//
//
//    @Override
//    public ReturnT<String> execute(String s) throws Exception {
//        String dateStr = new SimpleDateFormat("yyyy-MM-dd").format(new Date());
//        String startTime = dateStr + " 00:00";
//        String endTime = dateStr + " 23:59:59";
//        tangReportTimeMapper.updateReportFo(startTime, endTime);
//        return SUCCESS;
//    }
//}
